package com.hpjpw.idoapp.domain;

import com.ruoyi.common.annotation.Excel;

import javax.validation.constraints.NotBlank;

public class WorkerRegisterVo {

    /**
     * 职工号
     */
    @Excel(name = "职工号")
    private String number;

    /**
     * 姓名（用户昵称）
     */
    @Excel(name = "姓名")
    private String nickName;
    /**
     * 用户密码
     */
    @Excel(name = "用户密码")
    private String password;
    /**
     * 用户邮箱
     */
    @Excel(name = "用户邮箱")
    private String email;
    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String phoneNumber;
    /**
     * 用户性别
     */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;
    /**
     * 注册码
     */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String RegCode;

    @NotBlank(message = "密码不能为空")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @NotBlank(message = "职工号不能为空")
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    @NotBlank(message = "名字不能为空")
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @NotBlank(message = "邮箱不能为空")
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @NotBlank(message = "手机号不能为空")
    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    @NotBlank(message = "性别不能为空")
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @NotBlank(message = "注册码不能为空")
    public String getRegCode() {
        return RegCode;
    }

    public void setRegCode(String regCode) {
        RegCode = regCode;
    }
}
